ObjectDB Database Search
101-150 of 200 resultsJOD problems regarding detachCopy() have tried enhancing the jar, but did run into some trouble with this as well. Not sure whether enhancement is required? My code: @Entity public class Boat implements Serializable{ @Id private String name ... can identify it correctly with enhanced classes but not with classes that are not enhanced . Note | |
Felix, rollback exception, error 613: Failed to get reference value of field field db.Point.x using enhanced method (error 613)   ... enhanced method at com.objectdb.o._PersistenceException.a(_PersistenceException.java ... to get reference value of field field db.Point.x using enhanced method at com.objectdb | |
Problem upgrading the right version of the enhancer . There are no code errors. If I change everything back to 2.6.3 ... the enhancement is incomplete. Try to rebuild everything and run the Enhancer on all your entity ... of the enhancer : [ObjectDB 2.6.6 Enhancer ] 35 persistable types have been enhanced :   | |
ObjectDB Enincompatible with Quarkus? that runs fine without enhancement but fails after classes are enhanced , see trace below. This line ... . ie: it seems that ObjectDB's enhancer adds __ to methods, which is incompatible with Quarkus's ... its own corner with several enhanced methods that start with "__odb". This will be taken into | |
ObjectDB License Error I got' description = 'Run ObjectDB Enhancer on compiled classes' // Enhancer must see compiled classes + ObjectDB on the classpath classpath = sourceSets.main.runtimeClasspath mainClass = 'com.objectdb. Enhancer ' // Use your package pattern here (from your Maven snippet it was "point.*") // Enhances | |
"Attempt to lock a non entity object" error a minimal test case that demonstrates the problem. support Support [ObjectDB 2.4.7_15 Enhancer ] 1 persistable type has been enhanced : Person [ObjectDB 2.4.7_15 Enhancer ] 1 persistable type has been enhanced : Test Stored: Ron After find and first lock: Ron | |
Unable to persist TreeMap still not working: [ObjectDB 2.5.0 Enhancer ] 1 persistable type has been enhanced : Association [ObjectDB 2.5.0 Enhancer ] 1 persistable type has been enhanced :   ... .NullPointerException at Test.main(Test.java:31) at Enhance .main( Enhance .java:6) import java.util.Map; import | |
JDOHelper.isDetached failure ? that are supported by ObjectDB only for enhanced classes. For a class that is not enhanced ObjectDB ... is considered as transient. It is not practical to support it for non enhanced classes, without causing a memory leak. ObjectDB may be the only JDO implementation that supports non enhanced classes | |
Trouble bug on explorer numeric value of field field model.User.gid using enhanced method (error 362) at javax.swing ... .gid using enhanced method at com.objectdb.o.MSG.d(MSG.java:74) at com.objectdb.o.UMR.M(UMR.java:905 ... value of field field model.User.gid using enhanced method (error 362) at javax.swing.AbstractButton | |
Missing (null) elements in eager loaded references private long amount ; etc... } Kevin Kevin Pfaff Questions: Are your classes enhanced ... been already loaded would be missing. support Support No, none are enhanced , neither serverside nor locally ... enhanced classes. First, it is usually much more efficient. Second, it uses a different mechanism | |
package not found running ObjectDB under OSGi Hi I have created in Eclipse a new plugin from existing jar file and than I tried to enhance ... ] Package datamodel.core.base is not found by the enhancer (error 108) The Enhancer was run in ... ().loadClass("datamodel.core.base.NamedCoreObj").getClassLoader(); Enhancer | |
OneToMany and cascade delete problem? lwalkowski Lukasz Walkowski Running the test case (with enhancer enabled) produces output that ends ... ; lwalkowski Lukasz Walkowski Running the new test with enhancement enabled produces: Store: 4, size: 9 ... : 94, store: 4 Offer: Offer for product: 84, store: 4 but with no enhancement - produces: Listing | |
JRebel integration feature Feature request: Dynamic class enhancement during development compatible with JRebel. dmoshal David Moshal ObjectDB 2 supports dynamic enhancement using a Java Agent. Please try ... with objectdb-2.3.7_05 javaagent class enhancement (see part of stacktrace below) but run fine with JRebel | |
AttachNotSupportedException Rosado Enhancement requires the availiability of classes that are referenced from enhanced classes, and probably AttachNotSupportedException is referenced from an enhanced class. Usually the ObjectDB server doesn't need any external class. It uses enhancement internally to prepare classes based | |
Gradle-Kotlin Code Contributions in that it lacks a task to enhance the compiled classes. Deprecated Gradle features incompatible ... This is the minimum build file (build.gradle.kts) you will need to create a competent ( enhanced ) ObjectDB JPA ... ("com.objectdb:objectdb:2.9.0") } tasks.register (" enhance ") { group = "customTasks" mainClass = "com | |
Problem Using Reflection ObjectDB to be enhanced but actually it is not. Similar exceptions are thrown when hierarchy of classes is partly enhanced (you have to enhance all the classes in an entity inheritance path or none). If you do not use enhancement it could be associated with synthetic classes that ObjectDB builds | |
OutofMemory error with Object DB 2.0 with no enhancement (which is supported but not recommended in ObjectDB 2.x, and impossible in  ... it by enhancing the classes. support Support The following objects fillup most of the heap: com ... have been enhanced using com.objectdb. Enhancer . (they were also enhanced when objectdb 1.0 was used | |
Retrieval by Access bug? the issue with a test case? Note that you should enhance all your classes. Partial enhancement is not supported. In addition, if you use reflection mode (i.e. no enhancement ) you should try enhancing your classes, since enhancement improves ObjectDB ability to fetch objects when needed. support Support | |
NullPointerException while setting a new property value Hello, we are using ObjectDB version 2.4.4 and we are unable to resolve following NPE on enhanced ... incomplete enhancement (i.e. rebuilding the project and enhancing all the classes may solve ... Support I forgot to mention we are using ObjectDB in embedded mode. Enhancing was made successfully | |
pesimistic Lock semantic this is only a guess - but I think that you should have a problem if you run this code without enhancement . JDO (unlike JPA) requires enhancement to function properly. With enhancement - the picture ... ; getObjectById before commit ). With reflection (when enhancement doesn't work from any reason | |
JSON serialization and __odbHidden members. Thanks. tester15 John The ObjectDB Enhancer adds members to enhanced entity classes ... better) solution. Enhancer generated methods do not have get/set prefix now (as was also until fixing ... of changes to accessor enhancement policy (non-getter prefix instead of getter suffix) AND annotations webel Dr Darren Kelly | |
Stalling on "run File" in Netbeans when using -javaagent:lib/objectdb.jar Netbeans IDE. I am encountering the following problem when using enhancement with Netbeans IDE 7.1. To enable enhancement I use the following in the Project Properties dialog Run section under VM Options ... that ObjectDB class enhancement and JRebel "hot redeployment" class loading could somehow compete | |
OEM licencing limitation Hello, I have question regarding OEM licencing. We have an enhanced entity that contains list ... // enhanced entity public final class Test { // non enhanced entity Internal @OneToMany(fetch ... and instances of unsigned classes are counted. In this case, if test is enhanced with an OEM activation | |
object creation during pmf.getPersistenceManager() during enhancement ) for creation of all the managed entity objects (avoiding a more complex enhancement machanism ... even having 300 PC classes. In the future it could be an option for an enhancer to generate such constructors. thanks br Tomasz Tomasz Tomasz Wozniak Thank you for the update. Maybe the enhancer | |
Fields in objects not populated in query result. A possible reason could be a partial enhancement . ObjectDB can populate fields in both enhancement mode ... are enhanced and some are not this could happen. Note also that null values are expected when viewing ... from the database. I don't specify Enhancement mode or Reflection mode anywhere. -dh dhosek Don | |
Check for index existence ?="query" give me nothing in output ( debug or trace ). name="*" give me some informations about enhanced ... , enhancement messages are client side). support Support I am using the embedded mode.  ... infos about enhanced classes ) when i replace query by "*" xirt Sylvain Maybe ObjectDB doesn't use | |
Recursive calls with @PreUpdate annotation and Glassfish OutOfMemoryError(); } I've managed to deduce that it only happens when classes are enhanced . When they are not enhanced , everything works fine. Once the error is hit, it keeps on happening and until I remove the enhancement (I do this build time with maven). First, for the test case I supplied: 1) You need | |
Different behavior with persist() and queried instances? persist works though in a sample project, *after* the commit, my list property is correctly enhanced ... agent enhancer but maven compile time enhancer but the class itself is enhanced as I | |
Can I Disable the Creation of the "log" Directory?" directory still gets created. A "log" directory also gets created when I run com.objectdb. Enhancer ... also prevent the "log" directory created when running the enhancer (java ... com.objectdb. Enhancer | |
Soft Reference Object Cache Recommendation you when running the test. Assuming you used enhanced classes (as mentioned in your test comments ... classes are enhanced ). Still it is not released on GC because this is the way soft references work ... this ObjectDb.conf setting: The test is using enhanced classes and inspecting RAM is done after commits | |
Does ObjectDB support lazy loading? - it seems that there was a bug in lazy loading of instances of non enhanced classes. Please try build 09 that should fix this issue. In addition, you might want to enhance your entity classes ... )] if the classes are not enhanced . I am using objectdb-2.0-RC4_04. FredrikB Fredrik Bökman You are right | |
How to resolve 404 errors with Eclipse/Maven Spring MVC out the com.objectdb. Enhancer . Is this optional when deploying with eclipse instead of maven? I think ... it would be more appropriate to post here). siegfried siegfried heintze Enhancement (using com.objectdb. Enhancer or | |
Getting com.objectdb.o.UserException:.o.CFG. (CFG.java:59) at com.objectdb.o.JEN. (JEN.java:59) at com.objectdb. Enhancer . enhance ( Enhancer | |
Unexpected NoSuchFieldError exception David Moshal Try rebuild and enhance of all your classes, as the error messages indicates a broken enhancement (e.g. some classes in a class hierarchy are enhanced some are not, which is not allowed). support Support | |
Changes in detach behaviour?. While writing it i found out that it only happens whén I use the enhancer at compile time. I ... with a customized build.xml to enhance the classes. If you run the project you'll see the output "null ... : no need to wrap a single class test in a project even if enhancement is required, posting it as embedded | |
Database size is much larger than expected (x2) when run in Eclipse 3.5 in XP. [ObjectDB 2.2.9_03 Enhancer ] 5 persistable types have been enhanced ... ; image.Thumb image.URI 7 NON persistable types have been enhanced | |
Performance of "InsertTest" (and enhancement ) it persists 340,000 objects per second". Insertion Speed Rate and Batch Load Now, ten years ... . gzdillon Lai Yang It seems that your classes were not enhanced (the huge difference when calling clear is a known indication). Unfortunately enabling enhancement using agent="true" is not | |
Possible issue with LAZY Loading of the hint. This happens, for example, when ObjectDB uses reflection mode (classes are not enhanced ... are enhanced because of your implementation of the setLocationList method, which iterates ... = locationList; } and enhance the classes - the test will throw NullPointerException as expected | |
Embedded & Activation & Scalation and do enhance them at runtime, not compile time.. ? Alex quasado Alexander Adam Multiple processes ... during enhancement , so the enhancement has to be performed before deployment (at compile time). This works | |
Verify Error with Java 1.7 ObjectDB enhanced classes fail when compiled to Java 1.7 [ObjectDB 2.2.9_08 Enhancer ] 28 persistable types have been enhanced : ... com.vaisala.jx.db.gdm.model.SourceType stack trace from jUnit test com.vaisala.jx.db.gdm.facade.BaseFacadeTest Time elapsed: 0 sec | |
Failed to read the value of field ... using reflection It may indicate partial enhancement . As you use enhanced classes, make sure that all persistable classes are enhanced as well as other classes that access directly persistent fields of persistable classes. support Support | |
References to objects of missing obsolete entity classes.btc.ep.formalnotation.bl.internal.dmos.PhaseImpl is not enhanced ( enhance the type or enable ... .UserException: Type com.btc.ep.formalnotation.bl.internal.dmos.PhaseImpl is not enhanced ( enhance the type or ... ( enhanced ) entity class in your project for that obsolete entity class. support Support | |
Eager load Map - v1 k2 - v2 I tried with and without enhancement . Is there a chance that you were using an older ... had a play with a few options and found that it works if I add runtime enhancement (i.e ... been meaning to enhance the application classes for a while so am happy to push forward with that as | |
Feature suggestion: auto-detection of entities via persistence.xml extension to the EntityManager whether one performs compile-time enhancement or runtime enhancement ? That is, does the enhancement have any effect on entities known to: entityManager.getMetamodel().getEntities ... (); It should work regardless if the classes are enhanced or not. support Support | |
com.objectdb.o.InternalException: null by JRebel and runtime enhanced by the Enhancer (exception was thrown by ObjectDB since the class wasn't enhanced and then the application enhanced the class). The operation was retried. I don't | |
ObjectDB 2.7.0 to disable " enhancement ... is old" checks. Fixed a bug in handling remove and persist of the same ... PersistenceManager . Fixed an " Enhancement ... is old" bug on overriding persistent properties ... a specific enum type). Fixed a critical " Enhancement ... is old" bug when using property access mode | |
exception on start? Are all your classes enhanced (or not enhanced at all)? Unsupported partial enhancement (e.g. an entity class is enhanced but is super class is not) may cause issues. Check if you still see the error | |
NullPointer when accessing persistent field and db files ( transaction is rolled back ) The packages were all enhanced ( static weaving ... java.util.Map z_registers = new java.util.HashMap (); As before Enhancer is being run on code ... John Francis We have spent some time tracking this down. If we do not do static enhancing we do not | |
Use temporary files to enable very large transactions BTC EmbeddedSystems Do you use enhanced classes? If not, could you please run again with enhanced classes? support Support Just we have tested by usage of enhanced classes. But the result | |
ODB-FileWriter holds unecessary entity reference after transaction and entity manager are closed that all your classes are enhanced . The screenshot indicates using some entity objects ( MappingImpl ... Support Thank you very much for your hint. If we enhance all entities then it works. btc_es BTC ... to entities although it is not needed. We did following: All entities are enhanced . The entity |